<?php
class APIuser extends BaseController_Controller {

	
	public function __construct()
	{			
			parent::__construct();		
			//$this->load->model('sysuser_model');
			$this->load->library('sys/sysuser');
	}	
	
	function users($var)
	{		
		$cls=new SysUser($var);		
		echo json_encode($cls);			
	}

	function passexpires()	{		
		$cls=new SysUser($this->loginuser['uname']);
		echo json_encode($cls->changepassword);
	}

	

	

} 
